// 总共1080px 设计图稿,将屏幕分成16等分
// @number: 16;
// @media screen and (min-width: 320px) {
//   html {
//     font-size: 320px / @number;
//   }
// }
// @media screen and (min-width: 360px) {
//   html {
//     font-size: 360px / @number;
//   }
// }
// @media screen and (min-width: 375px) {
//   html {
//     font-size: 375px / @number;
//   }
// }
// @media screen and (min-width: 384px) {
//   html {
//     font-size: 384px / @number;
//   }
// }
// @media screen and (min-width: 400px) {
//   html {
//     font-size: 400px / @number;
//   }
// }
// @media screen and (min-width: 480px) {
//   html {
//     font-size: 480px / @number;
//   }
// }
// @media screen and (min-width: 540px) {
//   html {
//     font-size: 540px / @number;
//   }
// }

// @media screen and (min-width: 720px) {
//   html {
//     font-size: 720px / @number;
//   }
// }
// @media screen and (min-width: 750px) {
//   html {
//     font-size: 750px / @number;
//   }
// }

// @media screen and (min-width: 1080px) {
//   html {
//     font-size: 1080px / @number;
//   }
// }

body {
  background-color: #eee;
}
// 头部开始
header {
  width: 100%;
  background-color: black;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  .header_top {
    height: 2rem;
    .logo {
      width: 3.555556rem;
      height: 1.303704rem;
      padding: 0.385185rem 0.251852rem 0.311111rem;
      float: left;
      margin-right: 0.444444rem;
      h1 {
        width: 100%;
        height: 100%;
        background: url(../img/logo.png) no-repeat;
        text-indent: -148.133333rem;
        background-size: 100% 100%;
      }
    }

    .menuBtn {
      width: 1.911111rem;
      height: 2rem;
      float: left;
      margin-top: 0.148148rem;
    }

    .header_right {
      margin-top: 0.296296rem;
      float: right;

      ul {
        li {
          width: 1.644444rem;
          height: 1.155556rem;
          line-height: 1.155556rem;
          background-color: #690;
          margin-right: 0.222222rem;
          text-align: center;
          float: left;
          border-radius: 0.118519rem;
          &:nth-child(1) {
            margin-top: 0.044444rem;
            margin-right: 0.444444rem;
            font-weight: 700;
            border-radius: 0.148148rem;
            line-height: 1.303704rem;
            width: 1.925926rem;
            height: 1.303704rem;
            a {
              color: #fff;
            }
          }
          a {
            color: #ccc;
            font-size: 0.622222rem;
            display: block;
          }
        }
      }
    }
  }
  .header_bottom {
    height: 1.525926rem;
    padding: 0.237037rem;
    input[type="text"] {
      box-sizing: border-box;
      width: 12.281481rem;
      height: 1.525926rem;
      background-color: #999;
      padding: 0.074074rem 0.148148rem;
      border: 0.014815rem solid #5a5a5a;
      font-size: 0.607407rem;
      color: #333;
      border-radius: 0.222222rem;
      outline: none;
      float: left;
      &::-webkit-input-placeholder {
        color: #333;
      }
    }
    input[type="submit"] {
      width: 3.007407rem;
      height: 1.525926rem;
      border: none;
      background-color: #414040;
      color: #fff;
      font-size: 0.607407rem;
      border-radius: 0.222222rem;
      float: right;
    }
  }
}

// menu切换开始
.menu {
  position: absolute;
  top: 2rem;
  width: 100%;
  padding: 0.148148rem 0;
  border-top: 0.014815rem;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  visibility: hidden;
  opacity: 1;

  li {
    width: 22.5%;
    height: 2rem;
    line-height: 2rem;

    text-align: center;

    a {
      font-size: 0.8rem;
      color: #fff;
      display: block;
      font-weight: 700;
    }
  }
}
.menuopen {
  background: url(../img/menuBtn.png) no-repeat;
  background-size: 1.214815rem 3.451852rem;
  background-position: center 0.237037rem;
}
// menu切换结束
.menucolse {
  background: url(../img/menuBtn.png) no-repeat;
  background-size: 1.214815rem 3.451852rem;
  background-position: center -1.777778rem;
}
// 头部结束

// nav部分开始
.content {
  padding-top: 4rem;

  .navs {
    width: 100%;
    height: 2.622222rem;
    padding: 0.459259rem 0 0.207407rem;
    box-sizing: border-box;
    overflow: hidden;
    .navs_list {
      // white-space: nowrap;
      width: 270%;
      // transition: all 150ms;
      li {
        height: 1.911111rem;
        line-height: 1.911111rem;
        padding: 0 0.562963rem;
        float: left;
        a {
          color: #020202;
        }
      }
      .active {
        background-color: #690;

        a {
          color: #fff;
        }
      }
    }
  }
  .banner {
    width: 100%;
    overflow: hidden;
    position: relative;
    ul {
      width: 700%;

      li {
        width: 14.28%;
        float: left;
        a {
          display: block;
          img {
            width: 100%;
          }
        }
      }
    }
    ol {
      position: absolute;
      bottom: 0.296296rem;
      left: 50%;
      transform: translateX(-50%);
      font-size: 0;
      li {
        width: 0.444444rem;
        height: 0.444444rem;
        border-radius: 50%;
        background-color: gray;
        display: inline-block;
        margin-right: 0.222222rem;
        transition: all 0.1s;
      }
      .current {
        background-color: red;
      }
    }
  }
}

// nav部分结束

// tab部分开始
.tab {
  width: 15.496296rem;
  background-color: #fff;
  margin: 0 auto;
  overflow: hidden;
  .tab_header {
    height: 2rem;
    line-height: 2rem;
    h2 {
      float: left;
      font-size: 24px;
    }
    a {
      float: right;
      font-size: 12px;
    }
  }
  .tab_nav {
    line-height: 1.555556rem;
    height: 1.555556rem;
    position: relative;
    a {
      display: block;
      width: 1.555556rem;
      height: 1.777778rem;
      text-align: center;
      font-size: 0.651852rem;
      color: #6b6b6b;
      float: left;
    }
    span {
      width: 1.777778rem;
      height: 0.133333rem;
      background-color: #6f900d;
      display: block;
      position: absolute;
      bottom: 3px;
      left: 0;
    }
  }
  .tab_wrap {
    width: 1300%;
    overflow: hidden;
    ul {
      width: 7.69%;
      float: left;
    }
    .tab_list {
      li {
        float: left;
        box-sizing: border-box;
        width: 7.496296rem;
        margin: 0.118519rem;
        padding: 0.074074rem;
        font-size: 0.592593rem;
        background-color: #efefef;
        a {
          width: 100%;
          color: #000;
          font-size: 0.592593rem;
          display: block;
          overflow: hidden;
          span {
            display: block;
            width: 100%;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
          }
        }
        img {
          width: 100%;
        }
        .ice {
          .ice_left {
            float: left;
          }
          .ice_right {
            float: left;
          }
          .ice_pic {
            width: 0.592593rem;
            height: 0.592593rem;
            background: url(../img/ice.png);
            display: inline-block;
            vertical-align: middle;
            line-height: 0.592593rem;
          }
        }
      }
    }
    .tab_loading {
      height: 1.496296rem;
      opacity: 0;
      background: url(../img/loading.gif) no-repeat;
      background-position: center center;
    }
  }
}
// tab部分结束
